package com.hangzhou.xyj.model;

import com.hangzhou.xyj.model.base.BaseModel;

/**
 * Created by neo.duan on 2016/1/6.
 * 剧种数据结构
 */
public class DramaCategoryModel extends BaseModel {
    private int id;//剧种唯一标识
    private String name;
    private String url; //戏曲url
    private String sortLetters;  //拼音的首字母
    private boolean isAreaFirst;//是否是该区域的第一个
    private boolean isLastOne;//是否是最后一个元素
    private boolean isAreaLast;//是否是该区域的最后一个
    private boolean isSelected; //是否选中

    @Override
    public String toString() {
        return "DramaModel={id=" + id + ",name=" + name + ",sortLetters=" + sortLetters
                + ",isAreaFirst=" + isAreaFirst + ",isAreaLast=" + isAreaLast + ",isSelected=" + isSelected + "}";
    }

    public boolean isLastOne() {
        return isLastOne;
    }

    public void setIsLastOne(boolean isLastOne) {
        this.isLastOne = isLastOne;
    }

    public boolean getIsAreaFirst() {
        return isAreaFirst;
    }

    public void setIsAreaFirst(boolean isAreaFirst) {
        this.isAreaFirst = isAreaFirst;
    }

    public boolean isAreaLast() {
        return isAreaLast;
    }

    public void setIsAreaLast(boolean isAreaLast) {
        this.isAreaLast = isAreaLast;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getSortLetters() {
        return sortLetters;
    }

    public void setSortLetters(String sortLetters) {
        this.sortLetters = sortLetters;
    }

    public boolean isSelected() {
        return isSelected;
    }

    public void setIsSelected(boolean isSelected) {
        this.isSelected = isSelected;
    }
}
